/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.qdu.dao;

import com.qdu.entity.Movie;
import java.util.List;

/**
 *
 * @author Lenovo
 */
public interface MovieDao {
   int  insert(Movie m);
   
   int update(Movie m);
   
   int deleteByMovieId(String MovieId);
    
   List<Movie> getAllMovies();
   
   Movie getMovieInfoById(String movieId);
   
   List<Movie> getMoviesByKeyword(String movieName);
}
